package com.hakim.wfb.customer.result.trans;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hkfs.fundamental.api.data.PojoDataObjectBase;

import java.util.Date;

/**
 * 团队投资记录
 * Created by walkman on 2017/7/23.
 */
public class TeamConsumeRecordView extends PojoDataObjectBase {

    private static final long serialVersionUID = 1L;
    /**
     * 主键uuid
     */
    private String tid;

    /**
     * 用户主键
     */
    private String userId;

    /**
     * 用户编号
     */
    private String userCode;

    /**
     *
     */
    private String orderNo;

    /**
     * 本次消费积分
     */
    private double custPoint;

    /**
     * 投资时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date investTime;

    /**
     * 分红时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date rewardTime;

    /**
     * 期间静态收益积分总和(每天收益累加)
     */
    private double rewardSum;

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public double getCustPoint() {
        return custPoint;
    }

    public void setCustPoint(double custPoint) {
        this.custPoint = custPoint;
    }

    public Date getInvestTime() {
        return investTime;
    }

    public void setInvestTime(Date investTime) {
        this.investTime = investTime;
    }

    public Date getRewardTime() {
        return rewardTime;
    }

    public void setRewardTime(Date rewardTime) {
        this.rewardTime = rewardTime;
    }

    public double getRewardSum() {
        return rewardSum;
    }

    public void setRewardSum(double rewardSum) {
        this.rewardSum = rewardSum;
    }
}

